package com.vichat.res.entity;


import com.vichat.res.vo.ResFileVO;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

/***************
 *author: autogen
 *version: 2019-09-27 18:30:21.657
 */
@Entity
@Table(name = "res_event",catalog = "resdb")
public class ResEvent implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "res_event";

    /** */
	public static final String ALIAS_EVT_ID = "evt_id";
    /**事件类型 1执法取证 2 谈话录音 */
	public static final String ALIAS_EVT_TYPE = "evt_type";
    /** */
	public static final String ALIAS_UID = "uid";
    /**描述信息 */
	public static final String ALIAS_EVT_INFO = "evt_info";
    /**经度 */
	public static final String ALIAS_LONGITUDE = "longitude";
    /**纬度 */
	public static final String ALIAS_LATITUDE = "latitude";
    /** */
	public static final String ALIAS_ADDRESS = "address";
    /** */
	public static final String ALIAS_STATE = "state";
    /** */
	public static final String ALIAS_CREATE_TIME = "create_time";
    /** */
	public static final String ALIAS_UPDATE_TIME = "update_time";
    /**企业编号 */
	public static final String ALIAS_PARTY_ID = "party_id";
    /**汇报UID */
	public static final String ALIAS_RPT_UID = "rpt_uid";
    /**汇报组织ID */
	public static final String ALIAS_RPT_ORG_ID = "rpt_org_id";
    /**组织编号 */
	public static final String ALIAS_RPT_ORG_CODE = "rpt_org_code";
    /**提醒人列表 */
	public static final String ALIAS_REMIND_UIDS = "remind_uids";
    /** */
	public static final String ALIAS_VERSION = "version";
    /**罪犯编号 */
	public static final String ALIAS_C_UID = "c_uid";
    /**区域编号
 */
	public static final String ALIAS_DISTRICT_ID = "district_id";
    /** */
	public static final String ALIAS_C_UNAME = "c_uname";
    /** */
	public static final String ALIAS_UNAME = "uname";
    /**录音类型 */
	public static final String ALIAS_RECORD_TYPE = "record_type";
    /**结果 */
	public static final String ALIAS_EVT_RESULT = "evt_result";
	
	

 	@Id
@   GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "evt_id", unique = true, nullable = false)
    public java.lang.Long evtId;
  
 	@Column(name = "evt_type")
    public java.lang.Long evtType;
  
 	@Column(name = "uid")
    public java.lang.Long uid;
  
 	@Column(name = "evt_info")
    public java.lang.String evtInfo;
  
 	@Column(name = "longitude")
    public java.lang.String longitude;
  
 	@Column(name = "latitude")
    public java.lang.String latitude;
  
 	@Column(name = "address")
    public java.lang.String address = "";
  
 	@Column(name = "state")
    public java.lang.Long state;
  
 	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time")
    public java.util.Date createTime;
  
 	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "update_time")
    public java.util.Date updateTime;
  
 	@Column(name = "party_id")
    public java.lang.Long partyId;
  
 	@Column(name = "rpt_uid")
    public java.lang.Long rptUid;
  
 	@Column(name = "rpt_org_id")
    public java.lang.Long rptOrgId;
  
 	@Column(name = "rpt_org_code")
    public java.lang.String rptOrgCode;
  
 	@Column(name = "remind_uids")
    public java.lang.String remindUids;
  
 	@Column(name = "version")
    public java.lang.Long version = 0l;
  
 	@Column(name = "c_uid")
    public java.lang.Long cUid;
  
 	@Column(name = "district_id")
    public java.lang.Long districtId;
  
 	@Column(name = "c_uname")
    public java.lang.String cUname;
  
 	@Column(name = "uname")
    public java.lang.String uname;
  
 	@Column(name = "record_type")
    public java.lang.Long recordType;
  
 	@Column(name = "evt_result")
    public java.lang.String evtResult;
  





	public java.lang.Long getEvtId() {
		return this.evtId;
	}
	
	public void setEvtId(java.lang.Long value) {
		this.evtId = value;
	}

	public java.lang.Long getEvtType() {
		return this.evtType;
	}
	
	public void setEvtType(java.lang.Long value) {
		this.evtType = value;
	}

	public java.lang.Long getUid() {
		return this.uid;
	}
	
	public void setUid(java.lang.Long value) {
		this.uid = value;
	}

	public java.lang.String getEvtInfo() {
		return this.evtInfo;
	}
	
	public void setEvtInfo(java.lang.String value) {
		this.evtInfo = value;
	}

	public java.lang.String getLongitude() {
		return this.longitude;
	}
	
	public void setLongitude(java.lang.String value) {
		this.longitude = value;
	}

	public java.lang.String getLatitude() {
		return this.latitude;
	}
	
	public void setLatitude(java.lang.String value) {
		this.latitude = value;
	}

	public java.lang.String getAddress() {
		return this.address;
	}
	
	public void setAddress(java.lang.String value) {
		this.address = value;
	}

	public java.lang.Long getState() {
		return this.state;
	}
	
	public void setState(java.lang.Long value) {
		this.state = value;
	}

	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	
	public void setCreateTime(java.util.Date value) {
		this.createTime = value;
	}

	public java.util.Date getUpdateTime() {
		return this.updateTime;
	}
	
	public void setUpdateTime(java.util.Date value) {
		this.updateTime = value;
	}

	public java.lang.Long getPartyId() {
		return this.partyId;
	}
	
	public void setPartyId(java.lang.Long value) {
		this.partyId = value;
	}

	public java.lang.Long getRptUid() {
		return this.rptUid;
	}
	
	public void setRptUid(java.lang.Long value) {
		this.rptUid = value;
	}

	public java.lang.Long getRptOrgId() {
		return this.rptOrgId;
	}
	
	public void setRptOrgId(java.lang.Long value) {
		this.rptOrgId = value;
	}

	public java.lang.String getRptOrgCode() {
		return this.rptOrgCode;
	}
	
	public void setRptOrgCode(java.lang.String value) {
		this.rptOrgCode = value;
	}

	public java.lang.String getRemindUids() {
		return this.remindUids;
	}
	
	public void setRemindUids(java.lang.String value) {
		this.remindUids = value;
	}

	public java.lang.Long getVersion() {
		return this.version;
	}
	
	public void setVersion(java.lang.Long value) {
		this.version = value;
	}

	public java.lang.Long getCUid() {
		return this.cUid;
	}
	
	public void setCUid(java.lang.Long value) {
		this.cUid = value;
	}

	public java.lang.Long getDistrictId() {
		return this.districtId;
	}
	
	public void setDistrictId(java.lang.Long value) {
		this.districtId = value;
	}

	public java.lang.String getCUname() {
		return this.cUname;
	}
	
	public void setCUname(java.lang.String value) {
		this.cUname = value;
	}

	public java.lang.String getUname() {
		return this.uname;
	}
	
	public void setUname(java.lang.String value) {
		this.uname = value;
	}

	public java.lang.Long getRecordType() {
		return this.recordType;
	}
	
	public void setRecordType(java.lang.Long value) {
		this.recordType = value;
	}

	public java.lang.String getEvtResult() {
		return this.evtResult;
	}
	
	public void setEvtResult(java.lang.String value) {
		this.evtResult = value;
	}


	
	public ResEvent() {
	}
	
	public ResEvent(boolean qryflag) {
	    if(qryflag){
	    		this.evtId = null;
				this.evtType = null;
				this.uid = null;
				this.evtInfo = null;
				this.longitude = null;
				this.latitude = null;
				this.address = null;
				this.state = null;
				this.createTime = null;
				this.updateTime = null;
				this.partyId = null;
				this.rptUid = null;
				this.rptOrgId = null;
				this.rptOrgCode = null;
				this.remindUids = null;
				this.version = null;
				this.cUid = null;
				this.districtId = null;
				this.cUname = null;
				this.uname = null;
				this.recordType = null;
				this.evtResult = null;
			    }
	}


	public ResEvent(
	    java.lang.Long inEvtId,
	    java.lang.Long inEvtType,
	    java.lang.Long inUid,
	    java.lang.String inEvtInfo,
	    java.lang.String inLongitude,
	    java.lang.String inLatitude,
	    java.lang.String inAddress,
	    java.lang.Long inState,
	    java.util.Date inCreateTime,
	    java.util.Date inUpdateTime,
	    java.lang.Long inPartyId,
	    java.lang.Long inRptUid,
	    java.lang.Long inRptOrgId,
	    java.lang.String inRptOrgCode,
	    java.lang.String inRemindUids,
	    java.lang.Long inVersion,
	    java.lang.Long inCUid,
	    java.lang.Long inDistrictId,
	    java.lang.String inCUname,
	    java.lang.String inUname,
	    java.lang.Long inRecordType,
		java.lang.String inEvtResult
	 ) {
		super();
				this.evtId = inEvtId;
				this.evtType = inEvtType;
				this.uid = inUid;
				this.evtInfo = inEvtInfo;
				this.longitude = inLongitude;
				this.latitude = inLatitude;
				this.address = inAddress;
				this.state = inState;
				this.createTime = inCreateTime;
				this.updateTime = inUpdateTime;
				this.partyId = inPartyId;
				this.rptUid = inRptUid;
				this.rptOrgId = inRptOrgId;
				this.rptOrgCode = inRptOrgCode;
				this.remindUids = inRemindUids;
				this.version = inVersion;
				this.cUid = inCUid;
				this.districtId = inDistrictId;
				this.cUname = inCUname;
				this.uname = inUname;
				this.recordType = inRecordType;
				this.evtResult = inEvtResult;
			}


	@Transient
	private List<ResFileVO> fileVOList;

	public List<ResFileVO> getFileVOList() {
		return fileVOList;
	}

	public void setFileVOList(List<ResFileVO> fileVOList) {
		this.fileVOList = fileVOList;
	}

	@Transient
	private String userName;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Transient
	private String orgName;
	@Transient
	private String rptOrgName;
	@Transient
	private String rptUserName;
	@Transient
	private String remindUserName;

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getRptOrgName() {
		return rptOrgName;
	}

	public void setRptOrgName(String rptOrgName) {
		this.rptOrgName = rptOrgName;
	}

	public String getRptUserName() {
		return rptUserName;
	}

	public void setRptUserName(String rptUserName) {
		this.rptUserName = rptUserName;
	}

	public String getRemindUserName() {
		return remindUserName;
	}

	public void setRemindUserName(String remindUserName) {
		this.remindUserName = remindUserName;
	}

	@Transient
	private String criminalUserName;

	public String getCriminalUserName() {
		return criminalUserName;
	}

	public void setCriminalUserName(String criminalUserName) {
		this.criminalUserName = criminalUserName;
	}

	@Transient
	private Date startDate;
	@Transient
	private Date endDate;

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	@Transient
	private String vFaceUrl;

	public String getvFaceUrl() {
		return vFaceUrl;
	}

	public void setvFaceUrl(String vFaceUrl) {
		this.vFaceUrl = vFaceUrl;
	}

	@Transient
	private Long queryUid;

	public Long getQueryUid() {
		return queryUid;
	}

	public void setQueryUid(Long queryUid) {
		this.queryUid = queryUid;
	}

	@Transient
	private Long orgId;

	public Long getOrgId() {
		return orgId;
	}

	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}



}

